<?php
	
class AdminView
{
	public function DoAdminView()
	{
		$html = 	'<div id="wrapper">' . "\r\n";
		$html .= 		'<h1>DMQ CMS</h1>' . "\r\n";
		$html .= 		'<h2>Adminpage</h2>' . "\r\n";
		$html .= 			'<div id="topMenu">' . "\r\n";
		$html .= 				'<ul>' . "\r\n";
		$html .=					'<li><a class="button" href="' . $_SERVER['PHP_SELF'] . '/?page=menus"><span>Menus</span></a></li>' . "\r\n";
		$html .=					'<li><a class="button" href="' . $_SERVER['PHP_SELF'] . '/?page=pages"><span>Pages</span></a></li>' . "\r\n";
		$html .= 					'<li><a class="button" href="' . $_SERVER['PHP_SELF'] . '/?page=users"><span>Users</span></a></li>' . "\r\n";
		$html .= 				'</ul>' . "\r\n";
		$html .= 			'</div>' . "\r\n";
		$html .=	'</div>' . "\r\n";
				
		return $html;
	}
}
